package com.gjzt.business.contract.inter;

import com.gjzt.business.contract.model.ContractResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractResourceMapper {
    int deleteByPrimaryKey(String id);
    
    int deleteByContractId(String contractId);

    int insert(ContractResource record);

    ContractResource selectByPrimaryKey(String id);

    List<ContractResource> selectByContractIdAndResourceId(@Param("contractId")String contractId,@Param("resourceId")String resourceId);

    int updateByPrimaryKeySelective(ContractResource record);

    int updateByPrimaryKey(ContractResource record);
}